import Layout from '@/layout/index'
export default [
  {
    path: '/integral',
    component: Layout,
    redirect: 'noredirect',
    hidden: false,
    alwaysShow: true,
    meta: {
      icon: 'integral',
      noCache: true,
      title: '我的积分'
    },
    children: [
      {
        path: 'rules',
        component: (resolve) => require(['@/views/integral/rules'], resolve),
        name: 'Rules',
        meta: { title: '积分规则', icon: 'rules', noCache: true }
      },
      {
        path: 'supermarket',
        component: (resolve) => require(['@/views/integral/supermarket'], resolve),
        name: 'Supermarket',
        meta: { title: '积分超市', icon: 'supermarket', noCache: true }
      }
    ]
  }
]
